v368 continues the CORI Mail track after v367.1. The priority is to make company-owned email setup more real without making the user interface harder for dispatch teams.
The build adds a server-side test path for saved Custom Domain SMTP accounts. Users can save their company email credentials in Workspace Integrations, then run a connection test without sending a real email.
The correct flow is save the email account, test SMTP, let CORI prepare the draft, let the user review the words, and send only after final approval is wired and enabled.
At /company/integrations, the Email tab now supports saving company SMTP credentials, testing the saved SMTP account, showing the last check time, and marking the account connected when login works.
At /cori/mail, CORI Mail now explains that custom domain email must be saved and tested through Workspace Integrations before real sending can be enabled.
No Prisma schema changes were added in v368. v368 uses the schema-backed integration and CORI Mail tables introduced in v367.
After v368 passes, decide whether to deepen Workspace Integrations for Twilio, Google Maps, QuickBooks, and Stripe Connect readiness, or continue CORI Mail by wiring approved-send execution behind a guarded provider rail.